<?php
require_once 'dbConnect.php';

$sql = "SELECT * FROM `province`";
$stmt = $pdo->query($sql, PDO::FETCH_ASSOC);
$provinces = $stmt->fetchAll();

echo "<option value='-1'>--请选择--</option>";
foreach($provinces as $items ) {
	echo "<option value=".$items['id'].">".$items['name']."</option>";
}